package com.tmt.im.manager.controller.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.tags.Tag;
import jakarta.validation.constraints.NotNull;
import lombok.Getter;
import lombok.Setter;

import java.io.Serial;
import java.io.Serializable;

/**
 * @Description TODO
 * @Author wuyi
 * @Date 2024/9/14 22:28
 * @Version 1.0
 **/
@Getter
@Setter
@Tag(name = "免打扰请求对象", description = "免打扰请求对象")
public class NoDisturbingRequest implements Serializable {
    @Serial
    private static final long serialVersionUID = -3656238602367815222L;

    @Schema(description = "要操作的好友的用户ID")
    @NotNull(message = "好友的用户ID不能为null")
    private Long friendId;

    @Schema(description = "是否开启免打扰？ true——开启，false——关闭，\n" +
            "设置免打扰用户后，当被设为免打扰的用户发送消息给自己时，不会触发在线消息提醒和离线推送的通知栏")
    private boolean noDisturbing;

}
